/**
 * @file 04.c
 * @author your name (you@domain.com)
 * @brief 在 3个数字中找到最大值
 * @version 0.1
 * @date 2022-04-13
 * 
 * @copyright Copyright (c) 2022
 * 
 */

#include <stdio.h>

int main()
{
    int a, b, c;
    printf("\nEnter value of a, b & c :");
    scanf("%d %d %d", &a, &b, &c);
    if ((a > b) && (a > c)) {
        printf("\na is greatest\n");
    }
    if ((b > c) && (b > a)) {
        printf("\nb is greatest\n");
    }
    if ((c > a) && (c > b)) {
        printf("\nc is greatest\n");
    }        
    return 0;
}